Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericCollectionAssertions<TCollection,T,TAssertions> Class / StartWith Method
In This Topic
    StartWith Method (GenericCollectionAssertions<TCollection,T,TAssertions>)
    In This Topic
    Asserts that the current collection starts with same elements in the same order as the collection identified by expectation. Elements are compared using their System.Object.Equals(System.Object).
    Overload List
    OverloadDescription
    Asserts that the current collection starts with same elements in the same order as the collection identified by expectation. Elements are compared using their System.Object.Equals(System.Object).  
    Asserts that the current collection starts with same elements in the same order as the collection identified by expectation. Elements are compared using equalityComparison.  
    Asserts that the collection starts with the specified element.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also